package ast;

import java.math.BigDecimal;

public class InexactComplex implements NumberConstant {

	private BigDecimal real;
	private BigDecimal imag;

	public InexactComplex(BigDecimal real, BigDecimal imag) {
		this.real = real;
		this.imag = imag;
	}

	public BigDecimal getReal() {
		return real;
	}

	public BigDecimal getImag() {
		return imag;
	}

	@Override
	public void accept(Visitor visitor) {
		visitor.visitInexactComplex(this);
	}

}
